package Review;

public class Test {
    public static void main(String[] args) {
        Derived derived =new Derived();

    }
    public static void main3(String[] args) {
        C c = new C();
        c.approach();
    }
    public static void main2(String[] args) {
        C c =new C();

    }
    public static void main1(String[] args) {
        cacao cacao =new cacao();
        cacao.name = "keke";
        cacao.age = 100;
        cacao.height = 100;
        cacao.width =15;
        cacao.Colour();
        cacao.Fruit();
        System.out.println("================");
        AppleTree appleTree =new AppleTree();
        appleTree.name ="xiaoguo";
        appleTree.age =199;
        appleTree.height = 29;
        appleTree.width =10;
        appleTree.Colour();
        appleTree.Fruit();
    }
}
